package com.njtoyo.taxi.admin.service.marketing;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.njtoyo.taxi.admin.rest.presenter.marketing.coupon.AdminGiveCustomerCouponLogListPresenter;
import com.njtoyo.taxi.admin.rest.presenter.marketing.coupon.CouponHotListPresenter;
import com.njtoyo.taxi.admin.rest.wrapper.marketing.coupon.AdminGiveLogQueryWrapper;
import com.njtoyo.taxi.admin.rest.wrapper.marketing.coupon.CouponHotQueryWrapper;
import com.njtoyo.taxi.admin.rest.wrapper.marketing.coupon.CreateWrapper;
import com.taxi.entity.common.RestResult;
import com.njtoyo.taxi.entity.backend.AdminUser;
import org.springframework.data.domain.PageImpl;

public interface CouponService {

    RestResult customerGiveCoupon(AdminUser adminUser, CreateWrapper wrapper);

    RestResult<PageImpl<AdminGiveCustomerCouponLogListPresenter>> adminGiveLog(AdminGiveLogQueryWrapper wrapper);

    RestResult<Page<CouponHotListPresenter>> couponHot(Long customerId, CouponHotQueryWrapper wrapper);

}
